import { createStore } from "vuex";
import createPersistedState from "vuex-persistedstate";
export default createStore({
  key: "TmmPc",
  plugins: [createPersistedState({ storage: window.sessionStorage })],
  state: {
    sever2FrontData: {},
  },
  getters: {},
  mutations: {
    setSever2FrontData(state, data) {
      state.sever2FrontData = data;
    },
  },
  actions: {
    setSever2FrontData(ctx, data) {
      ctx.commit("setSever2FrontData", data);
    },
  },
  modules: {},
});
